package io.gitee.falllee.dao.enums;

/**
 * 数据来源
 * 
 * @author batty
 * @date 2019/04/22
 */
public enum DataSourceEnum {
    /**
     * 缓存
     */
    CACHE("cache"),

    /**
     * 数据库
     */
    DB("db");

    private String source;

    private DataSourceEnum(String source) {
        this.source = source;
    }

    public String getSource() {
        return this.source;
    }
}
